Optimal. Leaf size=41 \[ \frac{i \text{PolyLog}(2,-i (a+b x))}{2 d}-\frac{i \text{PolyLog}(2,i (a+b x))}{2 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0452878, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.21, Rules used = {5043, 12, 4848, 2391} \[ \frac{i \text{PolyLog}(2,-i (a+b x))}{2 d}-\frac{i \text{PolyLog}(2,i (a+b x))}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5043
Rule 12
Rule 4848
Rule 2391
Rubi steps
\begin{align*} \int \frac{\tan ^{-1}(a+b x)}{\frac{a d}{b}+d x} \, dx &=\frac{\operatorname{Subst}\left (\int \frac{b \tan ^{-1}(x)}{d x} \, dx,x,a+b x\right )}{b}\\ &=\frac{\operatorname{Subst}\left (\int \frac{\tan ^{-1}(x)}{x} \, dx,x,a+b x\right )}{d}\\ &=\frac{i \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,a+b x\right )}{2 d}-\frac{i \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,a+b x\right )}{2 d}\\ &=\frac{i \text{Li}_2(-i (a+b x))}{2 d}-\frac{i \text{Li}_2(i (a+b x))}{2 d}\\ \end{align*}
Mathematica [A] time = 0.0074928, size = 34, normalized size = 0.83 \[ \frac{i (\text{PolyLog}(2,-i (a+b x))-\text{PolyLog}(2,i (a+b x)))}{2 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.046, size = 98, normalized size = 2.4 \begin{align*}{\frac{\ln \left ( bx+a \right ) \arctan \left ( bx+a \right ) }{d}}+{\frac{{\frac{i}{2}}\ln \left ( bx+a \right ) \ln \left ( 1+i \left ( bx+a \right ) \right ) }{d}}-{\frac{{\frac{i}{2}}\ln \left ( bx+a \right ) \ln \left ( 1-i \left ( bx+a \right ) \right ) }{d}}+{\frac{{\frac{i}{2}}{\it dilog} \left ( 1+i \left ( bx+a \right ) \right ) }{d}}-{\frac{{\frac{i}{2}}{\it dilog} \left ( 1-i \left ( bx+a \right ) \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.68232, size = 166, normalized size = 4.05 \begin{align*} \frac{\arctan \left (b x + a\right ) \log \left (d x + \frac{a d}{b}\right )}{d} - \frac{\arctan \left (\frac{b^{2} x + a b}{b}\right ) \log \left (d x + \frac{a d}{b}\right )}{d} - \frac{\arctan \left (b x + a, 0\right ) \log \left (b^{2} x^{2} + 2 \, a b x + a^{2} + 1\right ) - 2 \, \arctan \left (b x + a\right ) \log \left ({\left | b x + a \right |}\right ) + i \,{\rm Li}_2\left (i \, b x + i \, a + 1\right ) - i \,{\rm Li}_2\left (-i \, b x - i \, a + 1\right )}{2 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \arctan \left (b x + a\right )}{b d x + a d}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{b \int \frac{\operatorname{atan}{\left (a + b x \right )}}{a + b x}\, dx}{d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\arctan \left (b x + a\right )}{d x + \frac{a d}{b}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]